package com.hzt.agprosaleplatform.common;


import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
//自定义响应对象
public class CustomResponse {
    private int code; //200 SUCCESS  500 ERROR
    private String message = "OK";
    private Object data;
    
    public CustomResponse(int code, String message, Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
